
function wmlog_proxy (){
    
}
if(typeof console !== "undefined"){
    /**
     *I freely admit this is not ideal, but it works and prevents application wide issues when console is missing.
     *
     */
    var wmlog = {        
        log:    function(){                    
                    var args = Array.prototype.slice.call(arguments);
                    console.log.apply(console, args);
                },
        info:   function(){                    
                    var args = Array.prototype.slice.call(arguments);
                    console.info.apply(console, args);
                },
        error:  function(){                    
                    var args = Array.prototype.slice.call(arguments);
                    console.error.apply(console, args);
                },
        debug:  function(){                    
                    var args = Array.prototype.slice.call(arguments);
                    console.debug.apply(console, args);
                },
        dir:    function(){                    
                    var args = Array.prototype.slice.call(arguments);
                    console.dir.apply(console, args);
                }
    }
}else{
    //silence is golden
    var wmlog = {
        log:    function(){},
        info:   function(){},
        error:  function(){},
        debug:  function(){},
        dir:    function(){}
    }
}



